package com.zjitc.dao;

import com.zjitc.model.Category;
import com.zjitc.model.CategorySecond;
import com.zjitc.model.Product;
import com.zjitc.model.User;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/4/19 15:33
 * @description:
 */
public interface UserDao {



  void regist(User user);

  User login(@Param("username")String username,@Param("password")String password);

  List<User> findAllUser();


  List<Product> findcsid(Integer csid);

  List<Product> findPid();
}
